package com.hongye.backstage.service.impl;

import com.hongye.backstage.dao.HongyeOrderDao;
import com.hongye.backstage.entity.HongyeOrderEntity;
import com.hongye.backstage.service.HongyeOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @progam:hongye-house
 * @author:GJS
 * @Time:2022/4/21 20:46
 */
@Service
public class HongyeOrderServiceImpl implements HongyeOrderService {

    @SuppressWarnings("all")
    @Autowired
    private HongyeOrderDao hongyeOrderDao;

    @Override
    public List<HongyeOrderEntity> findHongyeOrderList(String type, String phone) {
        return hongyeOrderDao.findHongyeOrderList(type,phone);
    }
}
